/**
 * Created by Eoly on 2017/3/27.
 * Call http://palerock.cn
 */
app.controller("test-three", function ($http, $scope) {

    $scope.welcome = 'welcome to page 3';

    $scope.alert = function () {
        alert('欢迎来到第三页');
    };

    $scope.init = function () {
        $scope.welcome = 'words changed';
        alert('hello');
    };

    $scope.peoples = [];

    $scope.peoples.push({
        name:'zhoujie',
        sex:'nan',
        age:'20'
    },{
        name:'zhoujie1',
        sex:'nan',
        age:'20'
    },{
        name:'zhoujie2',
        sex:'nan',
        age:'20'
    },{
        name:'zhoujie3',
        sex:'nan',
        age:'20'
    });



});